﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BBB RID: 3003
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyLikeScRsp : IMessage<MonopolyLikeScRsp>, IMessage, IEquatable<MonopolyLikeScRsp>, IDeepCloneable<MonopolyLikeScRsp>, IBufferMessage
	{
		// Token: 0x170025D4 RID: 9684
		// (get) Token: 0x06008649 RID: 34377 RVA: 0x00164F45 File Offset: 0x00163145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyLikeScRsp> Parser
		{
			get
			{
				return MonopolyLikeScRsp._parser;
			}
		}

		// Token: 0x170025D5 RID: 9685
		// (get) Token: 0x0600864A RID: 34378 RVA: 0x00164F4C File Offset: 0x0016314C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyLikeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025D6 RID: 9686
		// (get) Token: 0x0600864B RID: 34379 RVA: 0x00164F5E File Offset: 0x0016315E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyLikeScRsp.Descriptor;
			}
		}

		// Token: 0x0600864C RID: 34380 RVA: 0x00164F65 File Offset: 0x00163165
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeScRsp()
		{
		}

		// Token: 0x0600864D RID: 34381 RVA: 0x00164F70 File Offset: 0x00163170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeScRsp(MonopolyLikeScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rewardList_ = ((other.rewardList_ != null) ? other.rewardList_.Clone() : null);
			this.iCFEEGEIIOB_ = other.iCFEEGEIIOB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600864E RID: 34382 RVA: 0x00164FC8 File Offset: 0x001631C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyLikeScRsp Clone()
		{
			return new MonopolyLikeScRsp(this);
		}

		// Token: 0x170025D7 RID: 9687
		// (get) Token: 0x0600864F RID: 34383 RVA: 0x00164FD0 File Offset: 0x001631D0
		// (set) Token: 0x06008650 RID: 34384 RVA: 0x00164FD8 File Offset: 0x001631D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170025D8 RID: 9688
		// (get) Token: 0x06008651 RID: 34385 RVA: 0x00164FE1 File Offset: 0x001631E1
		// (set) Token: 0x06008652 RID: 34386 RVA: 0x00164FE9 File Offset: 0x001631E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList RewardList
		{
			get
			{
				return this.rewardList_;
			}
			set
			{
				this.rewardList_ = value;
			}
		}

		// Token: 0x170025D9 RID: 9689
		// (get) Token: 0x06008653 RID: 34387 RVA: 0x00164FF2 File Offset: 0x001631F2
		// (set) Token: 0x06008654 RID: 34388 RVA: 0x00164FFA File Offset: 0x001631FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ICFEEGEIIOB
		{
			get
			{
				return this.iCFEEGEIIOB_;
			}
			set
			{
				this.iCFEEGEIIOB_ = value;
			}
		}

		// Token: 0x06008655 RID: 34389 RVA: 0x00165003 File Offset: 0x00163203
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyLikeScRsp);
		}

		// Token: 0x06008656 RID: 34390 RVA: 0x00165014 File Offset: 0x00163214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyLikeScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RewardList, other.RewardList) && this.ICFEEGEIIOB == other.ICFEEGEIIOB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008657 RID: 34391 RVA: 0x00165074 File Offset: 0x00163274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rewardList_ != null)
			{
				num ^= this.RewardList.GetHashCode();
			}
			if (this.ICFEEGEIIOB != 0U)
			{
				num ^= this.ICFEEGEIIOB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008658 RID: 34392 RVA: 0x001650E2 File Offset: 0x001632E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008659 RID: 34393 RVA: 0x001650EA File Offset: 0x001632EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600865A RID: 34394 RVA: 0x001650F4 File Offset: 0x001632F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ICFEEGEIIOB != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.ICFEEGEIIOB);
			}
			if (this.rewardList_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.RewardList);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600865B RID: 34395 RVA: 0x0016516C File Offset: 0x0016336C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rewardList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RewardList);
			}
			if (this.ICFEEGEIIOB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ICFEEGEIIOB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600865C RID: 34396 RVA: 0x001651DC File Offset: 0x001633DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyLikeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rewardList_ != null)
			{
				if (this.rewardList_ == null)
				{
					this.RewardList = new ItemList();
				}
				this.RewardList.MergeFrom(other.RewardList);
			}
			if (other.ICFEEGEIIOB != 0U)
			{
				this.ICFEEGEIIOB = other.ICFEEGEIIOB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600865D RID: 34397 RVA: 0x00165258 File Offset: 0x00163458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600865E RID: 34398 RVA: 0x00165264 File Offset: 0x00163464
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 34U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						if (this.rewardList_ == null)
						{
							this.RewardList = new ItemList();
						}
						input.ReadMessage(this.RewardList);
					}
				}
				else
				{
					this.ICFEEGEIIOB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400332C RID: 13100
		private static readonly MessageParser<MonopolyLikeScRsp> _parser = new MessageParser<MonopolyLikeScRsp>(() => new MonopolyLikeScRsp());

		// Token: 0x0400332D RID: 13101
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400332E RID: 13102
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400332F RID: 13103
		private uint retcode_;

		// Token: 0x04003330 RID: 13104
		public const int RewardListFieldNumber = 4;

		// Token: 0x04003331 RID: 13105
		private ItemList rewardList_;

		// Token: 0x04003332 RID: 13106
		public const int ICFEEGEIIOBFieldNumber = 2;

		// Token: 0x04003333 RID: 13107
		private uint iCFEEGEIIOB_;
	}
}
